package com.hx.yupao.constant;

public interface RedisConstant {
    //redis缓存推荐用户信息的Key值
    String REDIS_RECOMMEND_KEY = "yupao:user:recommend:%s";

    //redisson 分布式锁  setnx的Key值，用于抢锁，只有一个线程能获取锁
    String REDISSON_RECOMMEND_KEY = "yupao:precachejob:docache:lock";

    //加入队伍的锁
    String REDIS_JOIN_TEAM_KEY = "lock:join_team";
}
